package com.mwh.yuantu.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserInfo)表实体类
 *
 * @author maweihong
 * @since 2023-11-01 09:47:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_info")
@Schema(name = "UserInfoEntity", title = "")
public class UserInfoEntity implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;
        
    @TableField("login_name")
    private String loginName;
        
    @TableField("pass_word")
    private String passWord;
        
    @TableField("email")
    private String email;
        
    @TableField("register_time")
    private Date registerTime;
        
    @TableField("register_ip")
    private String registerIp;
        
    @TableField("last_login_time")
    private Date lastLoginTime;
        
    @TableField("last_login_ip")
    private String lastLoginIp;
        
    @TableField("status")
    private Integer status;

    //用户所在用户组
    @TableField(exist = false)
    private String groupName;

    // 用户的权限值
    @TableField(exist = false)
    private String power;

    @TableField(exist = false)
    private String avatar;			// 用户头像

    @TableField(exist = false)
    private String signPersonal;	// 用户个性签名

    @TableField(exist = false)
    private int point;				// 用户积分

    @TableField(exist = false)
    private String groupId;			// 用户所在用户组id

}

